execute if block 10 -35 9 lever[powered=true] run scoreboard players set #operation temp 1
execute if block 9 -35 10 lever[powered=true] run scoreboard players set #operation temp -1

setblock 10 -35 9 lever[powered=false,face=floor,facing=east]
setblock 9 -35 10 lever[powered=false,face=floor,facing=south]

$data modify storage vs:system temp.type set from storage vs:system gamerules[$(index)].type

#int
$execute if data storage vs:system temp{type:"int"} if score #operation temp matches -1 run function vs:system/hub/menu/gamerule_settings/operation/int/remove {index:$(index)}
$execute if data storage vs:system temp{type:"int"} if score #operation temp matches 1 run function vs:system/hub/menu/gamerule_settings/operation/int/add {index:$(index)}


##OverRun
$execute if data storage vs:system gamerules[$(index)].operation_over_run run function vs:system/hub/menu/gamerule_settings/operation/over_run with storage vs:system gamerules[$(index)]

data remove storage vs:system temp.type
scoreboard players reset #operation temp